package com.xunker.appointment.service;

import com.xunker.appointment.model.hospital.Department;
import com.xunker.appointment.model.schedule.Schedule;
import com.xunker.appointment.vo.hospital.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    void save(Map<String, Object> objectMap);

    Page<Department> getByHospitalCode(String hospitalCode, int page, int limit);

    void remove(String departmentCode);

    List<DepartmentVo> getDepartTree(String hospitalCode);

    Department getDepartmentByHospitalCodeAndDepartmentCode(String hoscode, String depcode);

    Department getDepartmentByDepartmentCode(String departmentCode);
}
